package com.yxw.yx_hotel.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@ExcelTarget("exportStayWaitExcel")
@Data
public class ExportStayWaitExcel {

    @Excel(name = "员工姓名", orderNum = "0")
    @ApiModelProperty(value = "员工姓名")
    private String userName;

    @Excel(name = "员工工号", orderNum = "1")
    @ApiModelProperty(value = "员工工号")
    private String userNum;

    @Excel(name = "性别", orderNum = "2")
    @ApiModelProperty(value = "性别 0：女 1：男")
    private String sexName;

    @Excel(name = "手机号", orderNum = "3")
    @ApiModelProperty(value = "手机号")
    private String phone;

    @Excel(name = "身份证号", orderNum = "4")
    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @Excel(name = "所属部门", orderNum = "5")
    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @Excel(name = "岗位", orderNum = "6")
    @ApiModelProperty(value = "岗位")
    private String postName;

    @Excel(name = "员工状态", orderNum = "7")
    @ApiModelProperty(value = "员工状态 实习 正式 临时")
    private String userStateName;

    @Excel(name = "入住时间", orderNum = "8")
    @ApiModelProperty(value = "入住时间")
    private String stayTime;

    @Excel(name = "退住日期", orderNum = "9")
    @ApiModelProperty(value = "退住日期")
    private String retreatTime;

    @Excel(name = "宿舍", orderNum = "10")
    @ApiModelProperty(value = "宿舍")
    private String roomName;

    @Excel(name = "床位号", orderNum = "11")
    @ApiModelProperty(value = "床位号")
    private String bedRoom;

    @Excel(name = "是否需要缴纳押金", orderNum = "12")
    @ApiModelProperty(value = "是否需要缴纳押金 0：否 1：是")
    private String payStatusName;

    @Excel(name = "备注", orderNum = "13")
    @ApiModelProperty(value = "备注")
    private String note;
}
